﻿<OptionDialog x:Class="ClearMine.Dialogs.ConfirmNewGameWindow" x:ClassModifier="internal"
              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:c="clr-namespace:ClearMine.Framework.Controls;assembly=ClearMine.Framework"
              c:WindowExt.ResizeMode="NoResize"
              WindowStartupLocation="CenterOwner"
              Message="{DynamicResource ConfirmNewGameMessage}"
              Title="{DynamicResource ConfirmNewGameDialogTitle}">
    <OptionDialog.Options>
        <x:Array Type="{x:Type Button}">
            <Button IsDefault="True"
                    Margin="0,0,7,0"
                    Content="{DynamicResource StartNewGameLabel}"
                    Click="OnNewGameButtonClick" />
            <Button Content="{DynamicResource ContinueGameLabel}"
                    IsCancel="True"
                    Click="OnContinueClick" />
        </x:Array>
    </OptionDialog.Options>
</OptionDialog>
